/*
 * @Author: hfWang
 * @Date: 2022-07-18 19:26:15
 * @LastEditTime: 2023-02-07 22:54:00
 * @Description: file content
 * @FilePath: \whf_blog\docs\.vitepress\config.ts
 */

import { defineConfig } from "vitepress";
import sidebar from "./customConfig/sidebar";
import nav from "./customConfig/nav";
import getSearchKeyToJson from "./customConfig/getSearchKeyToJson";

getSearchKeyToJson();

export default defineConfig({
	// base: "/blog/",
	title: "HfWang",
	description: "老wang个人的学习记录，吐槽分享",
	lastUpdated: true,
	outDir: "../dist",
	themeConfig: {
		logo: "/h.png",
		nav,
		sidebar,
		footer: {
			message: "本站中引用到的其他资料，如有侵权，请联系本人删除",
			copyright: "本站版权所有人——HfWang",
		},
		editLink: {
			pattern: "https://gitee.com/whf293/blog",
			text: "编辑博客",
		},
		docFooter: {
			prev: "上一页",
			next: "下一页",
		},
	},
});
